Customization of a Real-Time Operating System Scheduler with Aspect-Oriented Programming
نویسندگان
چکیده
Tasks of an application program of an embedded system are managed by the scheduler of a real-time operating system (RTOS). Most RTOSs adopt just fixed priority scheduling, which is not optimal in all cases. Some applications require earliest deadline first (EDF) scheduling, which is an optimal scheduling algorithm. In order to develop an efficient real-time embedded system, the scheduling algorithm of the RTOS should be selectable. The paper presents a method to customize the scheduler using aspectoriented programming. We define aspects to replace the fixed priority scheduling mechanism of an OSEK OS with an EDF scheduling mechanism. By using the aspects, we can customize the scheduler without modifying the original source code. We have applied the aspects to an OSEK OS and get a customized operating system with EDF scheduling. The evaluation results show that the overhead of aspect-oriented programming is small enough. Keywords—aspect-oriented programming, embedded system, operating system, real-time system
منابع مشابه
Customizing Real-Time Operating Systems with Aspect-Oriented Programming Framework
There is a growing demand for rapidly customizing a complex software system such as a real-time operating system (RTOS) using existing module libraries. While object-oriented and/or component-based software technologies are used for this, they are not fully adequate for RTOS customization since RTOSes contain many crosscutting features that interfere with modularization. Aspect-oriented program...
متن کاملArtisst: AN EXTENSIBLE AND MODULAR SIMULATION TOOL FOR REAL-TIME SYSTEMS DAVID DECOTIGNY AND ISABELLE PUAUT
Artisst (Artisst is a Real-Time System Simulation Tool) is a modular event-driven simulation framework for real-time systems. It is targeted towards the performance evaluation of complex dynamic real-time systems made of tasks performing arbitrary computations and exhibiting a complex and realistic pattern for their arrival law, synchronization relations, and execution time. The simulator actua...
متن کاملARTISST: An Extensible and Modular Simulation Tool for Real-Time Systems
ARTISST (ARTISST is a Real-Time System Simulation Tool) is a modular event-driven simulation framework for real-time systems. It is targeted towards the performance evaluation of complex dynamic real-time systems made of tasks performing arbitrary computations and exhibiting a complex and realistic pattern for their arrival law, synchronization relations, and execution time. The simulator actua...
متن کاملFinegrain Application Specific Customization for Embedded Software
The paper describes techniques which have been developed to simplify the customization of the PURE operating system family for embedded systems and can be applied to almost any embedded software intended for reuse. The approach is based on feature modeling and the use of aspect-oriented programming and supported by a complete tool chain.
متن کاملAspect Oriented Operating Systems
We would like to argue that building aspect oriented operating systems is a potential technology needs and promising solutions that can make a significant impact on the way we deign and produce software in the coming future. At the same time, the open, unresolved issues on the basic architecture and design of aspect oriented operating systems puts such adventure beyond the scope of today's shor...
متن کامل